package com.dinghui.ebookbag.enity;

import java.io.Serializable;

// 视频资源
public class VideoResource implements Serializable {

    public Integer id;
    public String title;//视频名称
    public String size;//大小
    public String upTimes;//上传时间
    public Integer downTimes;//下载次数
    public Integer viewTimes;//浏览次数
    public Integer state;//状态
    public String introduce;//简介
    public String videoImage;//视频封面
    public String keywords;//关键字
    public String rearks;//保留字段
    public String url;//视频地址
    public Integer curriculumId;//课程Id
    public String teacherName;//讲师
    public String playTimes;//时长
    public Integer sort;//排序
    public String curriculumName;//课程名称
    public String xxmc;//上传者学校名称
    public Integer userId;//上传者id
    public String userName;//上传者
    public boolean collectionState;//是否收藏
    public boolean concernStatus;//是否关注状态
    public  Integer bookId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getUpTimes() {
        return upTimes;
    }

    public void setUpTimes(String upTimes) {
        this.upTimes = upTimes;
    }

    public Integer getDownTimes() {
        return downTimes;
    }

    public void setDownTimes(Integer downTimes) {
        this.downTimes = downTimes;
    }

    public Integer getViewTimes() {
        return viewTimes;
    }

    public void setViewTimes(Integer viewTimes) {
        this.viewTimes = viewTimes;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getVideoImage() {
        return videoImage;
    }

    public void setVideoImage(String videoImage) {
        this.videoImage = videoImage;
    }

    public String getKeywords() {
        return keywords;
    }

    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }

    public String getRearks() {
        return rearks;
    }

    public void setRearks(String rearks) {
        this.rearks = rearks;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getCurriculumId() {
        return curriculumId;
    }

    public void setCurriculumId(Integer curriculumId) {
        this.curriculumId = curriculumId;
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }

    public String getPlayTimes() {
        return playTimes;
    }

    public void setPlayTimes(String playTimes) {
        this.playTimes = playTimes;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getCurriculumName() {
        return curriculumName;
    }

    public void setCurriculumName(String curriculumName) {
        this.curriculumName = curriculumName;
    }

    public String getXxmc() {
        return xxmc;
    }

    public void setXxmc(String xxmc) {
        this.xxmc = xxmc;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public boolean isCollectionState() {
        return collectionState;
    }

    public void setCollectionState(boolean collectionState) {
        this.collectionState = collectionState;
    }

    public boolean isConcernStatus() {
        return concernStatus;
    }

    public void setConcernStatus(boolean concernStatus) {
        this.concernStatus = concernStatus;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    @Override
    public String toString() {
        return "VideoResource{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", size='" + size + '\'' +
                ", upTimes='" + upTimes + '\'' +
                ", downTimes=" + downTimes +
                ", viewTimes=" + viewTimes +
                ", state=" + state +
                ", introduce='" + introduce + '\'' +
                ", videoImage='" + videoImage + '\'' +
                ", keywords='" + keywords + '\'' +
                ", rearks='" + rearks + '\'' +
                ", url='" + url + '\'' +
                ", curriculumId=" + curriculumId +
                ", teacherName='" + teacherName + '\'' +
                ", playTimes='" + playTimes + '\'' +
                ", sort=" + sort +
                ", curriculumName='" + curriculumName + '\'' +
                ", xxmc='" + xxmc + '\'' +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", collectionState=" + collectionState +
                ", concernStatus=" + concernStatus +
                ", bookId=" + bookId +
                '}';
    }
}
